﻿@model IEnumerable<Portal.Models.Page>



<h3>@ViewBag.CatName</h3>

@foreach (var cat in Model)
{
<div class="colmask threecol">
	<div class="colmid">
		<div class="colleft">
			<div class="col1">
                <h3>@cat.Title</h3>
                <p>@cat.ShotDescription</p>
                <p style="clear: both;"><a href="#" class="more">more</a></p>
            </div>
			<div class="col2"><h2>@cat.IDate.ToString("yyyy-MM-dd")</h2><img alt="Kianu" style="width:100px;" src="../../Content/images/kianu.gif"></div>
			<div class="col3"><p class="comment">0 Comments</p></div>
		</div>
	</div>
</div>
 }

     @if (!Model.Any())
    {
       <p style="color:white;">Kategorija tuščia</p>
    }